//
//  OneViewController.m
//  多视图翻页
//
//  Created by student on 16/2/22.
//  Copyright © 2016年 niit. All rights reserved.
//

#import "OneViewController.h"
#import "TwoViewController.h"
#import "ThreeViewController.h"
@interface OneViewController ()
@property(nonatomic,strong) OneViewController *oneVC;
@property(nonatomic,strong) TwoViewController *twoVC;
@property(nonatomic,strong) ThreeViewController *threeVC;
@property (nonatomic,assign) BOOL cur;


@end

@implementation OneViewController

-(TwoViewController *)twoVC{
    if (_twoVC==nil ) {
        _twoVC=[[TwoViewController alloc]init];
    }
    return _twoVC;
}

-(ThreeViewController *)threeVC{
    if (_threeVC==nil ) {
        _threeVC=[[ThreeViewController alloc]init];
    }
    return _threeVC;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
